/**
 * 代号:隐无为 2017：厚溥
 * 文件名：GroupChatserviceImpl.java
 * 创建人：柯栋
 * 日期：2017年12月20日
 * 修改人：
 * 描述：
 */
package org.kd.service.impl;

import java.util.List;

import org.kd.dao.GroupChatDao;
import org.kd.model.GroupChat;
import org.kd.service.GroupChatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 用途：业务模块名称
 */
@Service
public class GroupChatServiceImpl  implements GroupChatService{
    @Autowired
    GroupChatDao  groupChatDao;

	public List<GroupChat> queryAll() {
		// TODO Auto-generated method stub
		return groupChatDao.queryAll();
	}

	public GroupChat queryById(Object id) {
		// TODO Auto-generated method stub
		return groupChatDao.queryById(id);
	}

	public void save(GroupChat groupChat) {
		// TODO Auto-generated method stub
		groupChatDao.save(groupChat);
	}

	public void update(GroupChat groupChat) {
		// TODO Auto-generated method stub
		groupChatDao.update(groupChat);
	}

	public void delete(Object id) {
		// TODO Auto-generated method stub
		groupChatDao.delete(id);
	}

	@Override
	public List<GroupChat> queryInId(Integer userId) {
		// TODO Auto-generated method stub
		return groupChatDao.queryInId(userId);
	}

}
